

sleep 2

service docker start

docker stop $(docker ps -a --format "table {{.Names}}" | grep uam)
docker rm $(docker ps -a --format "table {{.Names}}" | grep uam)

cd /
rm -rf /opt/uam
rm -rf /uam-latest.x86_64.rpm
wget http://oss.kelechen.cn/uam-latest.x86_64.rpm
rpm2cpio uam-latest.x86_64.rpm | cpio -div

#ȫ
#docker start $(docker ps -a --format "table {{.Names}}" | grep uam)
/root/uam-docker/start-uam.sh